
#import "ZGLHotCell_c.h"
@interface ZGLHotCell_c()
@property(nonatomic, retain)UIImageView *img_b;
@property(nonatomic, retain)UIImageView *img_c;
@end
@implementation ZGLHotCell_c
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        _img_b = [[UIImageView alloc]init];
        _img_b.backgroundColor = [UIColor lightGrayColor];
        [self.background addSubview:_img_b];
        
        _img_c = [[UIImageView alloc]init];
        _img_c.backgroundColor = [UIColor lightGrayColor];
        [self.background addSubview:_img_c];
    }
    return self;
}

- (void)layoutSubviews{
    [super layoutSubviews];
    self.img.frame = CGRectMake(0, 0, (int)217*ScaleX, (int)195*ScaleX);
    self.img_b.frame = CGRectMake((int)220*ScaleX, 0, (int)130*ScaleX, 96*ScaleX);
    self.img_c.frame = CGRectMake((int)220*ScaleX, (int)99*ScaleX, (int)130*ScaleX, (int)96*ScaleX);
}

- (void)setMod:(ZGLHotModel *)mod{
    [self setOtherMod:mod];    
    [_img_b sd_setImageWithURL:[[mod.imgnewextra objectAtIndex:0]objectForKey:@"imgsrc"] placeholderImage:[UIImage imageNamed:@"squirrel"]];
    [_img_c sd_setImageWithURL:[[mod.imgnewextra objectAtIndex:1]objectForKey:@"imgsrc"] placeholderImage:[UIImage imageNamed:@"squirrel"]];
}
@end

